package com.lanqiao.companymanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
 * 部门 工资系数 部门id
 * */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("dep")
public class Dep {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //部门名称
    @TableField("name ")
    private String name;
    //人数
    @TableField("count")
    private Integer count;
    //工资系数
    @TableField("salarycount")
    private Double salarycount;
    //部门id
    @TableField("dep_id")
    private Integer depId;
}
